const mongoose = require('mongoose')
const model = mongoose.model('advs', new mongoose.Schema({
    name: { type: String },
    items: [{
        image: { type: String },
        url: { type: String },
    }], parent: { type: mongoose.Schema.Types.ObjectId, ref: 'advs' }
}))
module.exports = model